package test.read;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.Date;
public class CheckLog {

	public static void main(String[] args) {
		try {
		    File f=new File("d://Program Files/Apache Software Foundation/Tomcat 5.5/webapps/lncnc/WEB-INF/classes/data_log/data"+(new SimpleDateFormat("yyyyMMdd").format(new Date()))+".txt");
			FileWriter output = new FileWriter(f);
			BufferedWriter bw = new BufferedWriter(output);
			bw.write("ssss");			
			bw.newLine();	
			bw.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}